<?php

declare(ENCODING = 'UTF-8');

/*                                                                        *
 * This script is part of the TYPO3 project - inspiring people to share!  *
 *                                                                        *
 * TYPO3 is free software; you can redistribute it and/or modify it under *
 * the terms of the GNU General Public License version 2 as published by  *
 * the Free Software Foundation.                                          *
 *                                                                        *
 * This script is distributed in the hope that it will be useful, but     *
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN-    *	
 * TABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General      *
 * Public License for more details.                                       *
 *                                                                        */	

/**
 * @package auxo
 * @subpackage core
 * @version $Id$
 */

/**	
 * The Extension Environment	
 *	
 * This class keeps some information e.g. name of an extension and offers setter and 
 * getter methods. A reference of this class might be injected if an component needs to 
 * know any information about this extension. Instance injection have to realized via
 * application context configuration. An instance of this class this registered within 
 * the current application context.
 * 
 * @package auxo
 * @subpackage core	
 * @version $Id$	
 * @copyright Copyright belongs to the respective authors
 * @author AHN
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License, version 2
 */
class  tx_auxo_ExtensionEnvironment {
	
	private $extension = '';
	
	public function __construct($extension) {
		$this->setExtension($extension);
	}
	
	public function setExtension($extension) {
		$this->extension = $extension;
	}
	
	public function getExtension() {
		return $this->extension;
	}
}
?>